<template>
	<view :style="[blankStyle]">
	</view>
</template>

<script>
	export default {
		name:"wlk-blank",
		data() {
			return {
                blankStyle:{}
			};
		},
        //属性
        props: {
            item: {
                type: Object,
                default: ()=> {
                    return []
                }
            }
        },
        created:function(e){
            this.setBlankStyle();
        },
        methods: {
            setBlankStyle(){
                this.blankStyle.height = uni.$u.addUnit(this.item.style.height, 'rpx');
                this.blankStyle.backgroundColor = this.item.style.bgColor;
            },
        }
	}
</script>

<style lang="scss">

</style>